package com.kdd.campus.sh.dto;

import com.kdd.campus.sh.po.ShOrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Auther: fcp
 * @Date: 2020/7/3 12:44
 * @Description:
 */
@Data
@ApiModel(description = "OrderDetailDto",value = "OrderDetailDto")
public class OrderDetailDto {
    @NotEmpty
    private String receiverName;//用户名

    @NotEmpty
    private String receiverPhone;//电话号码

    // ============地址信息==========
    @ApiModelProperty(value = "大学名称")
    @NotEmpty
    private String receiverUniversity;

    @ApiModelProperty(value = "校区")
    @NotEmpty
    private String receiverCampus;//

    @ApiModelProperty(value = "宿舍楼")
    private String receiverDormitory;//

    @ApiModelProperty(value = "房间")
    private String receiverRoom;//

    private String receiverProvince;

    private String receiverCity;

    private String receiverArea;

    @ApiModelProperty(value = "备注")
    private String receiverComment;//

    // 订单项信息
    private List<ShOrderItem> orderItemList;

}
